* {
    font-family: "微软雅黑";
}

.head * {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
}

a {
    text-decoration: none;
}

.head {
    position: absolute;
    top: 0;
    width: 100%;
    height: 4vw;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    z-index: 100;
    transition: 0.5s;
}

.head img {
    width: auto;
    height: 3vw;
    cursor: pointer;
}

.head ul {
    width: 50vw;
    height: 5vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: 0.5s;
    position: relative;
}

.head ul li {
    cursor: pointer;
    height: 5vw;
    line-height: 5vw;
    font-size: 1.7vw;
    font-family: 思源黑体;
    font-weight: normal;
    color: rgba(238, 236, 236, 0.8);
    transition: 0.5s;

}


.head ul .nav-box {
    position: absolute;
    bottom: 0.7vw;
    width: calc(100% / 15);
    left: 3.9%;
    height: 5px;
    border-radius: 5px;
    background-color: white;
    transition: 0.5s;


}

.head ul li:nth-child(1):hover ~ .nav-box, .head ul a:nth-child(1):hover ~ .nav-box, .nav-box1 {
    width: calc(105% / 15) !important;
    left: 3.9% !important;
}

.head ul li:nth-child(2):hover ~ .nav-box, .head ul a:nth-child(2):hover ~ .nav-box, .nav-box2 {
    width: calc(100% / 7) !important;
    left: calc(100% / 5 * 0.92) !important;
}

.head ul li:nth-child(3):hover ~ .nav-box, .head ul a:nth-child(3):hover ~ .nav-box, .nav-box3 {
    width: calc(100% / 7) !important;
    left: calc(100% / 5 * 1.98) !important;
}

.head ul li:nth-child(4):hover ~ .nav-box, .head ul a:nth-child(4):hover ~ .nav-box, .nav-box4 {
    width: calc(100% / 7) !important;
    left: calc(100% / 5 * 3.05) !important;
}

.head ul li:nth-child(5):hover ~ .nav-box, .head ul a:nth-child(5):hover ~ .nav-box, .nav-box5 {
    width: calc(100% / 7) !important;
    left: calc(100% / 5 * 4.1) !important;
}


.head ul li:hover {
    color: #FFFFFFFF;
}


.head_ul_li_hover {
    font-weight: bold !important;
    color: rgba(255, 255, 255, 1) !important;
    position: relative;
}

/*.head_ul_li_hover:after {*/
/*  position: absolute;*/
/*  content: "";*/
/*  width: 100%;*/
/*  height: 5px;*/
/*  bottom: -0.54vw;*/
/*  left: 0;*/
/*  color: black;*/
/*  border-radius: 5px;*/
/*  background-color: white;*/
/*}*/

.btn-wrap {
    display: none;
    width: 25px;
    height: 20px;
    cursor: pointer;

}

.btn-wrap p {
    width: 100%;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.btn-wrap_p_show0 {
    transform: translateY(-9px) rotate(45deg);
}

.btn-wrap_p_show1 {
    transform: translateY(0) rotate(-45deg);
}

.btn-wrap_p_show2 {
    transform: translateY(9px) rotate(-45deg);
}

.hiddenBox {
    display: none;
    position: absolute;
    width: 100vw;
    height: 100vh;
    padding-top: 50px;
    --animate-duration: 0.5s;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 15;
}

.hiddenBox ul li {

    font-size: 20px;
    color: rgba(252, 250, 250, 0.8);
    cursor: pointer;
    transition: 0.5s;
    width: 90%;
    margin: 2% auto;
    border-radius: 5px;
    padding: 1%;
    border: 1px solid rgba(255, 255, 255, 0);

}


.hiddenBox ul li:hover {
    color: rgba(252, 250, 250, 1);
    border: 1px solid white;
}

.hiddenBoxLiHous {
    font-weight: bolder;
    color: rgba(252, 250, 250, 1) !important;
    border: 1px solid white !important;
}


@media screen and (max-width: 900px) {
    .head img {
        width: 70%;
        height: auto;
    }

    .head ul {
        display: none;
    }

    .hiddenBox {
        display: block;
    }

    .btn-wrap {
        display: flex;
        justify-content: space-between;
        flex-direction: column-reverse;
    }
}

